# -*-coding:utf-8-*-
'''
File Create by Author:Backpackerxl
Create File Time:2021/10/13/013 20:46
Program IDE:PyCharm
File Name:test.py.py
  
'''

#
# def user_bank_id():
#     bank_id = ''
#     for i in range(6):
#         ch = chr(random.randrange(ord('0'), ord('9') + 1))
#         bank_id += ch
#     return bank_id
#
#
# print(user_bank_id(), type(user_bank_id()))
from util.File import File

file = File("../data/users.json")
stu_data = [
    {
        "user_bank_id": "119743",
        "user_name": "胡洋",
        "user_id": "511233200307156352",
        "user_phone": "19182533947",
        "user_money": 100,
        "user_password": "hy185219"
    },
    {
        "user_bank_id": "182230",
        "user_name": "王力",
        "user_id": "511725200204106352",
        "user_phone": "15182533947",
        "user_money": 1000,
        "user_password": "wl252425"
    }
]
file.preservation_data(stu_data)
print(file.get_all_data())
print(File("../etc/root.json").get_all_data())
print(not (False))

print(len(('1', '2')))
